package com.woniuxy.cloud.carl.carlstation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.cloud.carl.carlstation.infra.model.Notice;
import com.woniuxy.cloud.carl.carlstation.service.dto.NoticeServiceDto;
import com.woniuxy.cloud.carl.carlstation.service.param.NoticeServiceParam;
import com.woniuxy.result.Result;

import java.util.List;

/**
 * <p>
 * 公告表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
public interface NoticeService extends IService<Notice> {
    Result addNotice(NoticeServiceParam param);
    Result delNotice(List<Long> noticeIds);
    Result<List<NoticeServiceDto>> getNotice(Long NoticeId,String condition);
}
